home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Subviews
- Sent: 5/29/96 12:37 PM
- Received: 5/29/96 1:01 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Subject: Subviews Time:
- >2:10 PM
- >While reading the "ODF Developer's Guide Update", I came across the
- >following paragraph in the section on "Defining a Subview"
- >
- >"The view hierarchy inside your frame will never be very deep. Usually a
- >frame contains simple views, such as controls, as direct children, and it
- >may contain a content view which itself contains other simple views. It
- >is rare that you use more than 2 layers of views because of the limitation"
- >
- >What is the limitation being referred to in that last (incomplete)
- >sentence? Does this mean that my view hierarchy _should not_ get very
- >deep? If so, how deep is too deep? I am currently using nested subviews
- >extensively in my part.
- >
- >Thanks,
- >Rob Cope
- >Eclipse Services
- >
-
- There are no limit to the number of embedded views in ODF. What Laurent
- was refering to, I think, is the 'limitation' we have in ODF with
- scrollers. You can have only one scrolling region in a frame: means you
- can have only one scroller per frame. If you need to have two views
- scrolling (not synchronized) you need to have two frames. This is due to
- the fact that the ODF scroller uses the frame's internal transform, and
- there is only one internal tranform per frame.
-
- Laurent could give you I am sure a better answer but he is out of the
- office for the rest of the week.
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-